<!DOCTYPE html>
<!--
@license
Copyright 2016 The TensorFlow Authors. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->

<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>vz-histogram-timeseries demo</title>
    <link rel="import" href="../tf-imports/polymer.html" />
    <link rel="import" href="vz-histogram-timeseries.html" />
    <link rel="import" href="../iron-demo-helpers/demo-snippet.html" />
    <link rel="import" href="../paper-styles/typography.html" />
    <link rel="import" href="../paper-button/paper-button.html" />
    <style type="text/css">
      body {
        font-family: 'Roboto';
      }

      vz-histogram-timeseries {
        height: 300px;
        width: 500px;
      }
    </style>
  </head>
  <body>
    <h3>vz-histogram-timeseries mode</h3>
    <demo-snippet>
      <template>
        <paper-button id="offsetButton">Offset</paper-button>
        <paper-button id="overlayButton">Overlay</paper-button>
        <vz-histogram-timeseries id="histo1"></vz-histogram-timeseries>
        <script>
          var histo1 = document.querySelector('#histo1'),
            offsetButton = document.querySelector('#offsetButton'),
            overlayButton = document.querySelector('#overlayButton');

          histo1.setSeriesData('data', data);
          offsetButton.addEventListener('click', function() {
            histo1.mode = 'offset';
          });
          overlayButton.addEventListener('click', function() {
            histo1.mode = 'overlay';
          });
        </script>
      </template>
    </demo-snippet>

    <h3>vz-histogram-timeseries axis</h3>
    <demo-snippet>
      <template>
        <paper-button id="stepButton">Step</paper-button>
        <paper-button id="relativeButton">Relative</paper-button>
        <paper-button id="wallTimeButton">Wall Time</paper-button>
        <vz-histogram-timeseries id="histo2"></vz-histogram-timeseries>
        <script>
          var histo2 = document.querySelector('#histo2'),
            stepButton = document.querySelector('#stepButton'),
            relativeButton = document.querySelector('#relativeButton'),
            wallTimeButton = document.querySelector('#wallTimeButton');

          histo2.setSeriesData('data', data);
          stepButton.addEventListener('click', function() {
            histo2.timeProperty = 'step';
          });
          relativeButton.addEventListener('click', function() {
            histo2.timeProperty = 'relative';
          });
          wallTimeButton.addEventListener('click', function() {
            histo2.timeProperty = 'wall_time';
          });
        </script>
      </template>
    </demo-snippet>

    <script>
      var data = [
        {
          wall_time: new Date('2016-06-24T04:13:11.455Z'),
          step: 28,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0},
            {x: 0.0645, dx: 0.0054, y: 0},
            {x: 0.0698, dx: 0.0054, y: 0},
            {x: 0.0752, dx: 0.0054, y: 3.2512},
            {x: 0.0805, dx: 0.0054, y: 19.1043},
            {x: 0.0859, dx: 0.0054, y: 66.4758},
            {x: 0.0913, dx: 0.0054, y: 89.9105},
            {x: 0.0966, dx: 0.0054, y: 102.4476},
            {x: 0.102, dx: 0.0054, y: 83.8924},
            {x: 0.1073, dx: 0.0054, y: 81.9883},
            {x: 0.1127, dx: 0.0054, y: 25.21},
            {x: 0.1181, dx: 0.0054, y: 25.21},
            {x: 0.1234, dx: 0.0054, y: 2.51},
            {x: 0.1288, dx: 0.0054, y: 0},
            {x: 0.1341, dx: 0.0054, y: 0},
            {x: 0.1395, dx: 0.0054, y: 0},
            {x: 0.1449, dx: 0.0054, y: 0},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:13:32.817Z'),
          step: 74,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0},
            {x: 0.0645, dx: 0.0054, y: 0},
            {x: 0.0698, dx: 0.0054, y: 0.7448},
            {x: 0.0752, dx: 0.0054, y: 14.6532},
            {x: 0.0805, dx: 0.0054, y: 30.3488},
            {x: 0.0859, dx: 0.0054, y: 59.5117},
            {x: 0.0913, dx: 0.0054, y: 75.1098},
            {x: 0.0966, dx: 0.0054, y: 83.4545},
            {x: 0.102, dx: 0.0054, y: 74.1291},
            {x: 0.1073, dx: 0.0054, y: 73.1618},
            {x: 0.1127, dx: 0.0054, y: 40.9067},
            {x: 0.1181, dx: 0.0054, y: 40.9067},
            {x: 0.1234, dx: 0.0054, y: 5.241},
            {x: 0.1288, dx: 0.0054, y: 1.2973},
            {x: 0.1341, dx: 0.0054, y: 0.5347},
            {x: 0.1395, dx: 0.0054, y: 0},
            {x: 0.1449, dx: 0.0054, y: 0},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:14:04.265Z'),
          step: 148,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0},
            {x: 0.0645, dx: 0.0054, y: 0},
            {x: 0.0698, dx: 0.0054, y: 1.4897},
            {x: 0.0752, dx: 0.0054, y: 19.5529},
            {x: 0.0805, dx: 0.0054, y: 36.5817},
            {x: 0.0859, dx: 0.0054, y: 63.3103},
            {x: 0.0913, dx: 0.0054, y: 68.1847},
            {x: 0.0966, dx: 0.0054, y: 70.7925},
            {x: 0.102, dx: 0.0054, y: 68.2578},
            {x: 0.1073, dx: 0.0054, y: 67.9546},
            {x: 0.1127, dx: 0.0054, y: 44.712},
            {x: 0.1181, dx: 0.0054, y: 44.712},
            {x: 0.1234, dx: 0.0054, y: 8.3454},
            {x: 0.1288, dx: 0.0054, y: 4.3242},
            {x: 0.1341, dx: 0.0054, y: 1.7822},
            {x: 0.1395, dx: 0.0054, y: 0},
            {x: 0.1449, dx: 0.0054, y: 0},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:14:17.166Z'),
          step: 172,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0},
            {x: 0.0645, dx: 0.0054, y: 0},
            {x: 0.0698, dx: 0.0054, y: 2.2345},
            {x: 0.0752, dx: 0.0054, y: 22.1303},
            {x: 0.0805, dx: 0.0054, y: 37.9432},
            {x: 0.0859, dx: 0.0054, y: 57.6124},
            {x: 0.0913, dx: 0.0054, y: 63.9491},
            {x: 0.0966, dx: 0.0054, y: 67.3392},
            {x: 0.102, dx: 0.0054, y: 70.352},
            {x: 0.1073, dx: 0.0054, y: 70.5635},
            {x: 0.1127, dx: 0.0054, y: 44.712},
            {x: 0.1181, dx: 0.0054, y: 44.712},
            {x: 0.1234, dx: 0.0054, y: 9.5135},
            {x: 0.1288, dx: 0.0054, y: 5.6214},
            {x: 0.1341, dx: 0.0054, y: 2.5479},
            {x: 0.1395, dx: 0.0054, y: 0.3931},
            {x: 0.1449, dx: 0.0054, y: 0.3758},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:14:30.696Z'),
          step: 202,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0},
            {x: 0.0645, dx: 0.0054, y: 0},
            {x: 0.0698, dx: 0.0054, y: 5.2139},
            {x: 0.0752, dx: 0.0054, y: 22.6865},
            {x: 0.0805, dx: 0.0054, y: 37.4077},
            {x: 0.0859, dx: 0.0054, y: 57.6124},
            {x: 0.0913, dx: 0.0054, y: 62.0743},
            {x: 0.0966, dx: 0.0054, y: 64.4614},
            {x: 0.102, dx: 0.0054, y: 69.1481},
            {x: 0.1073, dx: 0.0054, y: 69.5186},
            {x: 0.1127, dx: 0.0054, y: 44.2364},
            {x: 0.1181, dx: 0.0054, y: 44.2364},
            {x: 0.1234, dx: 0.0054, y: 11.4129},
            {x: 0.1288, dx: 0.0054, y: 7.7835},
            {x: 0.1341, dx: 0.0054, y: 3.439},
            {x: 0.1395, dx: 0.0054, y: 0.3931},
            {x: 0.1449, dx: 0.0054, y: 0.3758},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:14:39.713Z'),
          step: 224,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0},
            {x: 0.0645, dx: 0.0054, y: 0},
            {x: 0.0698, dx: 0.0054, y: 5.9588},
            {x: 0.0752, dx: 0.0054, y: 21.5483},
            {x: 0.0805, dx: 0.0054, y: 37.556},
            {x: 0.0859, dx: 0.0054, y: 65.2096},
            {x: 0.0913, dx: 0.0054, y: 61.7226},
            {x: 0.0966, dx: 0.0054, y: 59.857},
            {x: 0.102, dx: 0.0054, y: 65.4045},
            {x: 0.1073, dx: 0.0054, y: 65.8728},
            {x: 0.1127, dx: 0.0054, y: 46.6147},
            {x: 0.1181, dx: 0.0054, y: 46.6147},
            {x: 0.1234, dx: 0.0054, y: 12.0391},
            {x: 0.1288, dx: 0.0054, y: 8.2159},
            {x: 0.1341, dx: 0.0054, y: 3.3861},
            {x: 0.1395, dx: 0.0054, y: 0},
            {x: 0.1449, dx: 0.0054, y: 0},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:15:16.226Z'),
          step: 309,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0.134},
            {x: 0.0645, dx: 0.0054, y: 0.8427},
            {x: 0.0698, dx: 0.0054, y: 13.4305},
            {x: 0.0752, dx: 0.0054, y: 25.0288},
            {x: 0.0805, dx: 0.0054, y: 37.6034},
            {x: 0.0859, dx: 0.0054, y: 60.7779},
            {x: 0.0913, dx: 0.0054, y: 61.3028},
            {x: 0.0966, dx: 0.0054, y: 61.5837},
            {x: 0.102, dx: 0.0054, y: 57.9013},
            {x: 0.1073, dx: 0.0054, y: 57.5244},
            {x: 0.1127, dx: 0.0054, y: 46.6147},
            {x: 0.1181, dx: 0.0054, y: 46.6147},
            {x: 0.1234, dx: 0.0054, y: 13.9859},
            {x: 0.1288, dx: 0.0054, y: 10.378},
            {x: 0.1341, dx: 0.0054, y: 4.7394},
            {x: 0.1395, dx: 0.0054, y: 0.7862},
            {x: 0.1449, dx: 0.0054, y: 0.7516},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:15:47.102Z'),
          step: 377,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0.67},
            {x: 0.0645, dx: 0.0054, y: 4.2133},
            {x: 0.0698, dx: 0.0054, y: 17.9929},
            {x: 0.0752, dx: 0.0054, y: 30.2753},
            {x: 0.0805, dx: 0.0054, y: 39.6941},
            {x: 0.0859, dx: 0.0054, y: 51.2814},
            {x: 0.0913, dx: 0.0054, y: 57.993},
            {x: 0.0966, dx: 0.0054, y: 61.5837},
            {x: 0.102, dx: 0.0054, y: 56.9449},
            {x: 0.1073, dx: 0.0054, y: 56.4756},
            {x: 0.1127, dx: 0.0054, y: 44.712},
            {x: 0.1181, dx: 0.0054, y: 44.712},
            {x: 0.1234, dx: 0.0054, y: 15.3539},
            {x: 0.1288, dx: 0.0054, y: 12.1077},
            {x: 0.1341, dx: 0.0054, y: 5.2212},
            {x: 0.1395, dx: 0.0054, y: 0.3931},
            {x: 0.1449, dx: 0.0054, y: 0.3758},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:16:13.835Z'),
          step: 433,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0},
            {x: 0.0591, dx: 0.0054, y: 0.9381},
            {x: 0.0645, dx: 0.0054, y: 5.8986},
            {x: 0.0698, dx: 0.0054, y: 14.3154},
            {x: 0.0752, dx: 0.0054, y: 32.7152},
            {x: 0.0805, dx: 0.0054, y: 43.8322},
            {x: 0.0859, dx: 0.0054, y: 50.6483},
            {x: 0.0913, dx: 0.0054, y: 56.6475},
            {x: 0.0966, dx: 0.0054, y: 59.857},
            {x: 0.102, dx: 0.0054, y: 59.1875},
            {x: 0.1073, dx: 0.0054, y: 59.0805},
            {x: 0.1127, dx: 0.0054, y: 43.285},
            {x: 0.1181, dx: 0.0054, y: 43.285},
            {x: 0.1234, dx: 0.0054, y: 14.0438},
            {x: 0.1288, dx: 0.0054, y: 10.8105},
            {x: 0.1341, dx: 0.0054, y: 4.6865},
            {x: 0.1395, dx: 0.0054, y: 0.3931},
            {x: 0.1449, dx: 0.0054, y: 0.3758},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:16:18.632Z'),
          step: 445,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.2205},
            {x: 0.0591, dx: 0.0054, y: 1.5836},
            {x: 0.0645, dx: 0.0054, y: 5.056},
            {x: 0.0698, dx: 0.0054, y: 18.0162},
            {x: 0.0752, dx: 0.0054, y: 32.1331},
            {x: 0.0805, dx: 0.0054, y: 41.2513},
            {x: 0.0859, dx: 0.0054, y: 48.7489},
            {x: 0.0913, dx: 0.0054, y: 57.1104},
            {x: 0.0966, dx: 0.0054, y: 61.5837},
            {x: 0.102, dx: 0.0054, y: 57.9013},
            {x: 0.1073, dx: 0.0054, y: 57.5178},
            {x: 0.1127, dx: 0.0054, y: 44.2364},
            {x: 0.1181, dx: 0.0054, y: 44.2364},
            {x: 0.1234, dx: 0.0054, y: 13.7491},
            {x: 0.1288, dx: 0.0054, y: 10.378},
            {x: 0.1341, dx: 0.0054, y: 4.5083},
            {x: 0.1395, dx: 0.0054, y: 0.3931},
            {x: 0.1449, dx: 0.0054, y: 0.3973},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:16:36.297Z'),
          step: 484,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.441},
            {x: 0.0591, dx: 0.0054, y: 3.3011},
            {x: 0.0645, dx: 0.0054, y: 10.9546},
            {x: 0.0698, dx: 0.0054, y: 13.7105},
            {x: 0.0752, dx: 0.0054, y: 32.9245},
            {x: 0.0805, dx: 0.0054, y: 43.1978},
            {x: 0.0859, dx: 0.0054, y: 45.5834},
            {x: 0.0913, dx: 0.0054, y: 55.2572},
            {x: 0.0966, dx: 0.0054, y: 60.4326},
            {x: 0.102, dx: 0.0054, y: 53.4983},
            {x: 0.1073, dx: 0.0054, y: 52.8206},
            {x: 0.1127, dx: 0.0054, y: 43.7607},
            {x: 0.1181, dx: 0.0054, y: 43.7607},
            {x: 0.1234, dx: 0.0054, y: 15.6486},
            {x: 0.1288, dx: 0.0054, y: 12.5401},
            {x: 0.1341, dx: 0.0054, y: 6.5549},
            {x: 0.1395, dx: 0.0054, y: 2.3586},
            {x: 0.1449, dx: 0.0054, y: 2.2763},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:16:41.053Z'),
          step: 496,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.8819},
            {x: 0.0591, dx: 0.0054, y: 4.5922},
            {x: 0.0645, dx: 0.0054, y: 9.2693},
            {x: 0.0698, dx: 0.0054, y: 14.4087},
            {x: 0.0752, dx: 0.0054, y: 31.3218},
            {x: 0.0805, dx: 0.0054, y: 41.9331},
            {x: 0.0859, dx: 0.0054, y: 49.3821},
            {x: 0.0913, dx: 0.0054, y: 53.5815},
            {x: 0.0966, dx: 0.0054, y: 55.8282},
            {x: 0.102, dx: 0.0054, y: 55.0152},
            {x: 0.1073, dx: 0.0054, y: 54.901},
            {x: 0.1127, dx: 0.0054, y: 41.3824},
            {x: 0.1181, dx: 0.0054, y: 41.3824},
            {x: 0.1234, dx: 0.0054, y: 18.1373},
            {x: 0.1288, dx: 0.0054, y: 15.567},
            {x: 0.1341, dx: 0.0054, y: 7.5713},
            {x: 0.1395, dx: 0.0054, y: 1.9655},
            {x: 0.1449, dx: 0.0054, y: 1.9005},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:16:41.186Z'),
          step: 497,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.8819},
            {x: 0.0591, dx: 0.0054, y: 4.4581},
            {x: 0.0645, dx: 0.0054, y: 8.4266},
            {x: 0.0698, dx: 0.0054, y: 15.1302},
            {x: 0.0752, dx: 0.0054, y: 31.577},
            {x: 0.0805, dx: 0.0054, y: 42.2256},
            {x: 0.0859, dx: 0.0054, y: 50.6483},
            {x: 0.0913, dx: 0.0054, y: 53.2729},
            {x: 0.0966, dx: 0.0054, y: 54.6771},
            {x: 0.102, dx: 0.0054, y: 53.4815},
            {x: 0.1073, dx: 0.0054, y: 53.3397},
            {x: 0.1127, dx: 0.0054, y: 42.8094},
            {x: 0.1181, dx: 0.0054, y: 42.8094},
            {x: 0.1234, dx: 0.0054, y: 18.6688},
            {x: 0.1288, dx: 0.0054, y: 15.9995},
            {x: 0.1341, dx: 0.0054, y: 7.5184},
            {x: 0.1395, dx: 0.0054, y: 1.5724},
            {x: 0.1449, dx: 0.0054, y: 1.5247},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:16:49.690Z'),
          step: 513,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.4385},
            {x: 0.0591, dx: 0.0054, y: 3.8126},
            {x: 0.0645, dx: 0.0054, y: 9.2693},
            {x: 0.0698, dx: 0.0054, y: 15.8984},
            {x: 0.0752, dx: 0.0054, y: 33.6899},
            {x: 0.0805, dx: 0.0054, y: 44.0753},
            {x: 0.0859, dx: 0.0054, y: 49.3821},
            {x: 0.0913, dx: 0.0054, y: 51.3318},
            {x: 0.0966, dx: 0.0054, y: 52.3749},
            {x: 0.102, dx: 0.0054, y: 57.1094},
            {x: 0.1073, dx: 0.0054, y: 57.5073},
            {x: 0.1127, dx: 0.0054, y: 40.4311},
            {x: 0.1181, dx: 0.0054, y: 40.4311},
            {x: 0.1234, dx: 0.0054, y: 18.0426},
            {x: 0.1288, dx: 0.0054, y: 15.567},
            {x: 0.1341, dx: 0.0054, y: 6.878},
            {x: 0.1395, dx: 0.0054, y: 0.7862},
            {x: 0.1449, dx: 0.0054, y: 0.7731},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:17:07.617Z'),
          step: 551,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.441},
            {x: 0.0591, dx: 0.0054, y: 3.4351},
            {x: 0.0645, dx: 0.0054, y: 11.7972},
            {x: 0.0698, dx: 0.0054, y: 21.1823},
            {x: 0.0752, dx: 0.0054, y: 30.8315},
            {x: 0.0805, dx: 0.0054, y: 38.4273},
            {x: 0.0859, dx: 0.0054, y: 48.1158},
            {x: 0.0913, dx: 0.0054, y: 49.7656},
            {x: 0.0966, dx: 0.0054, y: 50.6483},
            {x: 0.102, dx: 0.0054, y: 56.0044},
            {x: 0.1073, dx: 0.0054, y: 56.4716},
            {x: 0.1127, dx: 0.0054, y: 43.285},
            {x: 0.1181, dx: 0.0054, y: 43.285},
            {x: 0.1234, dx: 0.0054, y: 19.1055},
            {x: 0.1288, dx: 0.0054, y: 16.4319},
            {x: 0.1341, dx: 0.0054, y: 7.4655},
            {x: 0.1395, dx: 0.0054, y: 1.1793},
            {x: 0.1449, dx: 0.0054, y: 1.1489},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:17:17.407Z'),
          step: 577,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.6614},
            {x: 0.0591, dx: 0.0054, y: 4.3487},
            {x: 0.0645, dx: 0.0054, y: 12.6399},
            {x: 0.0698, dx: 0.0054, y: 15.2469},
            {x: 0.0752, dx: 0.0054, y: 32.5059},
            {x: 0.0805, dx: 0.0054, y: 42.1267},
            {x: 0.0859, dx: 0.0054, y: 45.5834},
            {x: 0.0913, dx: 0.0054, y: 48.883},
            {x: 0.0966, dx: 0.0054, y: 50.6483},
            {x: 0.102, dx: 0.0054, y: 58.3955},
            {x: 0.1073, dx: 0.0054, y: 59.0752},
            {x: 0.1127, dx: 0.0054, y: 41.3824},
            {x: 0.1181, dx: 0.0054, y: 41.3824},
            {x: 0.1234, dx: 0.0054, y: 19.3054},
            {x: 0.1288, dx: 0.0054, y: 16.8643},
            {x: 0.1341, dx: 0.0054, y: 7.8748},
            {x: 0.1395, dx: 0.0054, y: 1.5724},
            {x: 0.1449, dx: 0.0054, y: 1.5032},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:17:21.105Z'),
          step: 581,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.6614},
            {x: 0.0591, dx: 0.0054, y: 4.4827},
            {x: 0.0645, dx: 0.0054, y: 13.4826},
            {x: 0.0698, dx: 0.0054, y: 15.2702},
            {x: 0.0752, dx: 0.0054, y: 30.6481},
            {x: 0.0805, dx: 0.0054, y: 40.862},
            {x: 0.0859, dx: 0.0054, y: 49.3821},
            {x: 0.0913, dx: 0.0054, y: 48.3322},
            {x: 0.0966, dx: 0.0054, y: 47.7705},
            {x: 0.102, dx: 0.0054, y: 58.6263},
            {x: 0.1073, dx: 0.0054, y: 59.6023},
            {x: 0.1127, dx: 0.0054, y: 43.285},
            {x: 0.1181, dx: 0.0054, y: 43.285},
            {x: 0.1234, dx: 0.0054, y: 18.3268},
            {x: 0.1288, dx: 0.0054, y: 15.567},
            {x: 0.1341, dx: 0.0054, y: 7.3402},
            {x: 0.1395, dx: 0.0054, y: 1.5724},
            {x: 0.1449, dx: 0.0054, y: 1.5032},
            {x: 0.1502, dx: 0.0054, y: 0},
            {x: 0.1556, dx: 0.0054, y: 0},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:17:30.677Z'),
          step: 602,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.441},
            {x: 0.0591, dx: 0.0054, y: 3.5692},
            {x: 0.0645, dx: 0.0054, y: 12.6399},
            {x: 0.0698, dx: 0.0054, y: 16.7365},
            {x: 0.0752, dx: 0.0054, y: 31.1584},
            {x: 0.0805, dx: 0.0054, y: 40.4233},
            {x: 0.0859, dx: 0.0054, y: 47.4827},
            {x: 0.0913, dx: 0.0054, y: 46.9203},
            {x: 0.0966, dx: 0.0054, y: 46.6194},
            {x: 0.102, dx: 0.0054, y: 57.0926},
            {x: 0.1073, dx: 0.0054, y: 58.0436},
            {x: 0.1127, dx: 0.0054, y: 45.6633},
            {x: 0.1181, dx: 0.0054, y: 45.6633},
            {x: 0.1234, dx: 0.0054, y: 18.5636},
            {x: 0.1288, dx: 0.0054, y: 15.567},
            {x: 0.1341, dx: 0.0054, y: 7.8024},
            {x: 0.1395, dx: 0.0054, y: 2.3586},
            {x: 0.1449, dx: 0.0054, y: 2.2763},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:17:30.960Z'),
          step: 604,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.6614},
            {x: 0.0591, dx: 0.0054, y: 4.0807},
            {x: 0.0645, dx: 0.0054, y: 10.9546},
            {x: 0.0698, dx: 0.0054, y: 17.4347},
            {x: 0.0752, dx: 0.0054, y: 31.878},
            {x: 0.0805, dx: 0.0054, y: 40.8126},
            {x: 0.0859, dx: 0.0054, y: 46.8496},
            {x: 0.0913, dx: 0.0054, y: 46.6997},
            {x: 0.0966, dx: 0.0054, y: 46.6194},
            {x: 0.102, dx: 0.0054, y: 57.0926},
            {x: 0.1073, dx: 0.0054, y: 58.0423},
            {x: 0.1127, dx: 0.0054, y: 45.1877},
            {x: 0.1181, dx: 0.0054, y: 45.1877},
            {x: 0.1234, dx: 0.0054, y: 18.5162},
            {x: 0.1288, dx: 0.0054, y: 15.567},
            {x: 0.1341, dx: 0.0054, y: 8.0335},
            {x: 0.1395, dx: 0.0054, y: 2.7518},
            {x: 0.1449, dx: 0.0054, y: 2.6521},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:17:45.074Z'),
          step: 637,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.1024},
            {x: 0.0591, dx: 0.0054, y: 4.8356},
            {x: 0.0645, dx: 0.0054, y: 5.8986},
            {x: 0.0698, dx: 0.0054, y: 20.2741},
            {x: 0.0752, dx: 0.0054, y: 34.292},
            {x: 0.0805, dx: 0.0054, y: 41.5418},
            {x: 0.0859, dx: 0.0054, y: 43.051},
            {x: 0.0913, dx: 0.0054, y: 48.0004},
            {x: 0.0966, dx: 0.0054, y: 50.6483},
            {x: 0.102, dx: 0.0054, y: 56.0044},
            {x: 0.1073, dx: 0.0054, y: 56.4862},
            {x: 0.1127, dx: 0.0054, y: 48.5173},
            {x: 0.1181, dx: 0.0054, y: 48.5173},
            {x: 0.1234, dx: 0.0054, y: 15.7328},
            {x: 0.1288, dx: 0.0054, y: 12.1077},
            {x: 0.1341, dx: 0.0054, y: 6.6077},
            {x: 0.1395, dx: 0.0054, y: 2.7518},
            {x: 0.1449, dx: 0.0054, y: 2.6521},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:18:17.117Z'),
          step: 702,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.8819},
            {x: 0.0591, dx: 0.0054, y: 4.3241},
            {x: 0.0645, dx: 0.0054, y: 7.5839},
            {x: 0.0698, dx: 0.0054, y: 20.3208},
            {x: 0.0752, dx: 0.0054, y: 36.1498},
            {x: 0.0805, dx: 0.0054, y: 44.7076},
            {x: 0.0859, dx: 0.0054, y: 47.4827},
            {x: 0.0913, dx: 0.0054, y: 46.1704},
            {x: 0.0966, dx: 0.0054, y: 45.4683},
            {x: 0.102, dx: 0.0054, y: 50.2984},
            {x: 0.1073, dx: 0.0054, y: 50.748},
            {x: 0.1127, dx: 0.0054, y: 48.993},
            {x: 0.1181, dx: 0.0054, y: 48.993},
            {x: 0.1234, dx: 0.0054, y: 17.727},
            {x: 0.1288, dx: 0.0054, y: 14.2698},
            {x: 0.1341, dx: 0.0054, y: 7.961},
            {x: 0.1395, dx: 0.0054, y: 3.538},
            {x: 0.1449, dx: 0.0054, y: 3.4037},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:18:21.750Z'),
          step: 714,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 0.8819},
            {x: 0.0591, dx: 0.0054, y: 4.7262},
            {x: 0.0645, dx: 0.0054, y: 10.1119},
            {x: 0.0698, dx: 0.0054, y: 19.6459},
            {x: 0.0752, dx: 0.0054, y: 35.4302},
            {x: 0.0805, dx: 0.0054, y: 44.3183},
            {x: 0.0859, dx: 0.0054, y: 48.1158},
            {x: 0.0913, dx: 0.0054, y: 46.3911},
            {x: 0.0966, dx: 0.0054, y: 45.4683},
            {x: 0.102, dx: 0.0054, y: 50.2984},
            {x: 0.1073, dx: 0.0054, y: 50.7374},
            {x: 0.1127, dx: 0.0054, y: 45.1877},
            {x: 0.1181, dx: 0.0054, y: 45.1877},
            {x: 0.1234, dx: 0.0054, y: 19.6843},
            {x: 0.1288, dx: 0.0054, y: 16.8643},
            {x: 0.1341, dx: 0.0054, y: 9.0303},
            {x: 0.1395, dx: 0.0054, y: 3.538},
            {x: 0.1449, dx: 0.0054, y: 3.4037},
            {x: 0.1502, dx: 0.0054, y: 0.4892},
            {x: 0.1556, dx: 0.0054, y: 0.4892},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:18:40.691Z'),
          step: 758,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.2181},
            {x: 0.0591, dx: 0.0054, y: 3.4351},
            {x: 0.0645, dx: 0.0054, y: 11.7972},
            {x: 0.0698, dx: 0.0054, y: 19.6926},
            {x: 0.0752, dx: 0.0054, y: 34.0368},
            {x: 0.0805, dx: 0.0054, y: 43.0042},
            {x: 0.0859, dx: 0.0054, y: 49.3821},
            {x: 0.0913, dx: 0.0054, y: 44.9576},
            {x: 0.0966, dx: 0.0054, y: 42.5906},
            {x: 0.102, dx: 0.0054, y: 52.9203},
            {x: 0.1073, dx: 0.0054, y: 53.8615},
            {x: 0.1127, dx: 0.0054, y: 42.8094},
            {x: 0.1181, dx: 0.0054, y: 42.8094},
            {x: 0.1234, dx: 0.0054, y: 21.005},
            {x: 0.1288, dx: 0.0054, y: 18.594},
            {x: 0.1341, dx: 0.0054, y: 9.5121},
            {x: 0.1395, dx: 0.0054, y: 3.1449},
            {x: 0.1449, dx: 0.0054, y: 3.0495},
            {x: 0.1502, dx: 0.0054, y: 0.9785},
            {x: 0.1556, dx: 0.0054, y: 0.9785},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:18:44.566Z'),
          step: 762,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.2181},
            {x: 0.0591, dx: 0.0054, y: 3.5692},
            {x: 0.0645, dx: 0.0054, y: 12.6399},
            {x: 0.0698, dx: 0.0054, y: 18.9711},
            {x: 0.0752, dx: 0.0054, y: 34.7106},
            {x: 0.0805, dx: 0.0054, y: 43.929},
            {x: 0.0859, dx: 0.0054, y: 48.7489},
            {x: 0.0913, dx: 0.0054, y: 43.6121},
            {x: 0.0966, dx: 0.0054, y: 40.8639},
            {x: 0.102, dx: 0.0054, y: 53.25},
            {x: 0.1073, dx: 0.0054, y: 54.3819},
            {x: 0.1127, dx: 0.0054, y: 42.3337},
            {x: 0.1181, dx: 0.0054, y: 42.3337},
            {x: 0.1234, dx: 0.0054, y: 21.7363},
            {x: 0.1288, dx: 0.0054, y: 19.4588},
            {x: 0.1341, dx: 0.0054, y: 9.8685},
            {x: 0.1395, dx: 0.0054, y: 3.1449},
            {x: 0.1449, dx: 0.0054, y: 3.0495},
            {x: 0.1502, dx: 0.0054, y: 0.9785},
            {x: 0.1556, dx: 0.0054, y: 0.9785},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:18:48.972Z'),
          step: 771,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.4385},
            {x: 0.0591, dx: 0.0054, y: 4.4827},
            {x: 0.0645, dx: 0.0054, y: 13.4826},
            {x: 0.0698, dx: 0.0054, y: 17.5047},
            {x: 0.0752, dx: 0.0054, y: 34.2003},
            {x: 0.0805, dx: 0.0054, y: 43.3441},
            {x: 0.0859, dx: 0.0054, y: 46.2165},
            {x: 0.0913, dx: 0.0054, y: 43.1044},
            {x: 0.0966, dx: 0.0054, y: 41.4395},
            {x: 0.102, dx: 0.0054, y: 52.8213},
            {x: 0.1073, dx: 0.0054, y: 53.8641},
            {x: 0.1127, dx: 0.0054, y: 43.7607},
            {x: 0.1181, dx: 0.0054, y: 43.7607},
            {x: 0.1234, dx: 0.0054, y: 22.2678},
            {x: 0.1288, dx: 0.0054, y: 19.8912},
            {x: 0.1341, dx: 0.0054, y: 10.0467},
            {x: 0.1395, dx: 0.0054, y: 3.1449},
            {x: 0.1449, dx: 0.0054, y: 3.0495},
            {x: 0.1502, dx: 0.0054, y: 0.9785},
            {x: 0.1556, dx: 0.0054, y: 0.9785},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:19:18.102Z'),
          step: 836,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.8795},
            {x: 0.0591, dx: 0.0054, y: 6.4437},
            {x: 0.0645, dx: 0.0054, y: 16.0105},
            {x: 0.0698, dx: 0.0054, y: 18.3196},
            {x: 0.0752, dx: 0.0054, y: 30.2753},
            {x: 0.0805, dx: 0.0054, y: 39.2554},
            {x: 0.0859, dx: 0.0054, y: 49.3821},
            {x: 0.0913, dx: 0.0054, y: 44.5826},
            {x: 0.0966, dx: 0.0054, y: 42.015},
            {x: 0.102, dx: 0.0054, y: 53.349},
            {x: 0.1073, dx: 0.0054, y: 54.3793},
            {x: 0.1127, dx: 0.0054, y: 41.3824},
            {x: 0.1181, dx: 0.0054, y: 41.3824},
            {x: 0.1234, dx: 0.0054, y: 22.031},
            {x: 0.1288, dx: 0.0054, y: 19.8912},
            {x: 0.1341, dx: 0.0054, y: 10.0467},
            {x: 0.1395, dx: 0.0054, y: 3.1449},
            {x: 0.1449, dx: 0.0054, y: 3.071},
            {x: 0.1502, dx: 0.0054, y: 1.4677},
            {x: 0.1556, dx: 0.0054, y: 1.4677},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:19:26.881Z'),
          step: 854,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 1.8795},
            {x: 0.0591, dx: 0.0054, y: 6.3097},
            {x: 0.0645, dx: 0.0054, y: 15.1679},
            {x: 0.0698, dx: 0.0054, y: 19.0411},
            {x: 0.0752, dx: 0.0054, y: 29.1371},
            {x: 0.0805, dx: 0.0054, y: 37.795},
            {x: 0.0859, dx: 0.0054, y: 50.0152},
            {x: 0.0913, dx: 0.0054, y: 45.1782},
            {x: 0.0966, dx: 0.0054, y: 42.5906},
            {x: 0.102, dx: 0.0054, y: 51.0074},
            {x: 0.1073, dx: 0.0054, y: 51.781},
            {x: 0.1127, dx: 0.0054, y: 45.1877},
            {x: 0.1181, dx: 0.0054, y: 45.1877},
            {x: 0.1234, dx: 0.0054, y: 20.8524},
            {x: 0.1288, dx: 0.0054, y: 18.1616},
            {x: 0.1341, dx: 0.0054, y: 9.796},
            {x: 0.1395, dx: 0.0054, y: 3.9311},
            {x: 0.1449, dx: 0.0054, y: 3.8226},
            {x: 0.1502, dx: 0.0054, y: 1.4677},
            {x: 0.1556, dx: 0.0054, y: 1.4677},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:20:06.833Z'),
          step: 947,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 3.6542},
            {x: 0.0591, dx: 0.0054, y: 6.8212},
            {x: 0.0645, dx: 0.0054, y: 13.4826},
            {x: 0.0698, dx: 0.0054, y: 15.2702},
            {x: 0.0752, dx: 0.0054, y: 32.0414},
            {x: 0.0805, dx: 0.0054, y: 41.1524},
            {x: 0.0859, dx: 0.0054, y: 43.6841},
            {x: 0.0913, dx: 0.0054, y: 43.7216},
            {x: 0.0966, dx: 0.0054, y: 43.7417},
            {x: 0.102, dx: 0.0054, y: 46.8023},
            {x: 0.1073, dx: 0.0054, y: 47.089},
            {x: 0.1127, dx: 0.0054, y: 46.6147},
            {x: 0.1181, dx: 0.0054, y: 46.6147},
            {x: 0.1234, dx: 0.0054, y: 24.8881},
            {x: 0.1288, dx: 0.0054, y: 22.4857},
            {x: 0.1341, dx: 0.0054, y: 11.116},
            {x: 0.1395, dx: 0.0054, y: 3.1449},
            {x: 0.1449, dx: 0.0054, y: 3.0926},
            {x: 0.1502, dx: 0.0054, y: 1.9569},
            {x: 0.1556, dx: 0.0054, y: 1.9569},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:20:20.058Z'),
          step: 974,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 3.5385},
            {x: 0.0591, dx: 0.0054, y: 9.0258},
            {x: 0.0645, dx: 0.0054, y: 12.6399},
            {x: 0.0698, dx: 0.0054, y: 17.4814},
            {x: 0.0752, dx: 0.0054, y: 30.9491},
            {x: 0.0805, dx: 0.0054, y: 39.7415},
            {x: 0.0859, dx: 0.0054, y: 46.8496},
            {x: 0.0913, dx: 0.0054, y: 42.9501},
            {x: 0.0966, dx: 0.0054, y: 40.8639},
            {x: 0.102, dx: 0.0054, y: 51.8154},
            {x: 0.1073, dx: 0.0054, y: 52.8153},
            {x: 0.1127, dx: 0.0054, y: 41.8581},
            {x: 0.1181, dx: 0.0054, y: 41.8581},
            {x: 0.1234, dx: 0.0054, y: 22.8571},
            {x: 0.1288, dx: 0.0054, y: 20.7561},
            {x: 0.1341, dx: 0.0054, y: 11.0964},
            {x: 0.1395, dx: 0.0054, y: 4.3242},
            {x: 0.1449, dx: 0.0054, y: 4.22},
            {x: 0.1502, dx: 0.0054, y: 1.9569},
            {x: 0.1556, dx: 0.0054, y: 1.9569},
          ],
        },
        {
          wall_time: new Date('2016-06-24T04:20:29.637Z'),
          step: 999,
          bins: [
            {x: 0.0537, dx: 0.0054, y: 5.2083},
            {x: 0.0591, dx: 0.0054, y: 6.5532},
            {x: 0.0645, dx: 0.0054, y: 11.7972},
            {x: 0.0698, dx: 0.0054, y: 18.9477},
            {x: 0.0752, dx: 0.0054, y: 30.5305},
            {x: 0.0805, dx: 0.0054, y: 39.1091},
            {x: 0.0859, dx: 0.0054, y: 48.7489},
            {x: 0.0913, dx: 0.0054, y: 39.4876},
            {x: 0.0966, dx: 0.0054, y: 34.5329},
            {x: 0.102, dx: 0.0054, y: 55.0967},
            {x: 0.1073, dx: 0.0054, y: 57},
            {x: 0.1127, dx: 0.0054, y: 45.6633},
            {x: 0.1181, dx: 0.0054, y: 45.6633},
            {x: 0.1234, dx: 0.0054, y: 18.5636},
            {x: 0.1288, dx: 0.0054, y: 15.567},
            {x: 0.1341, dx: 0.0054, y: 10.3444},
            {x: 0.1395, dx: 0.0054, y: 6.6828},
            {x: 0.1449, dx: 0.0054, y: 6.4532},
            {x: 0.1502, dx: 0.0054, y: 1.4677},
            {x: 0.1556, dx: 0.0054, y: 1.4677},
          ],
        },
      ];
    </script>
  </body>
</html>
